﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.EntityClient;
using System.Data.Objects;
using DataLayer.Entity;

namespace DataLayer
{
    public class Model : ObjectContext
    {
        public Model(EntityConnection entityConnection)
            : base(entityConnection)
        {
            DefaultContainerName = "Model";
        }
        public IObjectSet<Person> People
        {

            get { return base.CreateObjectSet<Person>(); }

        }

    }
}
